import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Home from '../views/Home.vue'
// import Home from '../components/GlobalContent.vue'
import newWenZhan from '../components/newWenZhan/newWenZhan.vue'
import list from '../components/List/list.vue'
const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/newwenzhan',
    name: 'newWenZhan',
    component: newWenZhan    
  },
  {
    path: '/list',
    name: 'list',
    component: list    
  }
  
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
